package com.example.wmsservice;

import com.example.wmsapi.WmsApi;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: vince_zww
 * @date: 2020/7/28 21:03
 * @desceription:
 */
@RestController
public class WmsService implements WmsApi {
    @Override
    public String delivery(@PathVariable("productId") Long productId) {
        System.out.println("对商品【productId=" + productId + "】进行发货");
        return "{'msg': 'success'}";
    }
}
